# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Login)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Login_SRCS configurare.cpp  login.cpp  loginplugin.cpp)
QT4_WRAP_CPP(Login_SRCS configurare.h  login.h  loginplugin.h)
QT4_WRAP_UI(Login_SRCS configurare.ui  login.ui)
QT4_ADD_RESOURCES(Login_SRCS login.qrc)

add_library(Login SHARED ${Login_SRCS})
add_dependencies(Login KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Login KontAMabil ${QT_LIBRARIES})

install(TARGETS Login ${INSTALL_PLUGINS_DEFAULT_ARGS})
